package com.zxd.threads.thread_pool.thread_pool_util;

/**
 * ClassName:MyRunnable
 * Package:com.zxd.threads.thread_pool
 *
 * @Date:2023/9/26 21:46
 * @Author:zxde
 */
public class MyRunnable implements Runnable{

    @Override
    public void run() {
        System.out.println(Thread.currentThread().getName()+"被执行的任务");
        try {
            Thread.sleep(1000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}
